package com.hsj.core.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 对应bean标签
 * @author:Teacher黄
 * @date:Created at 2019/05/12
 */
public class Bean {

    /**
     * 对应bean的名字
     */
    private String name;
    /**
     * 对应bean的全路径
     */
    private String className;

    /**
     * 对应bean标签下的property标签
     */
    private List<Property> propertyList = new ArrayList<>();

    public Bean() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<Property> getPropertyList() {
        return propertyList;
    }

    public void setPropertyList(List<Property> propertyList) {
        this.propertyList = propertyList;
    }

    @Override
    public String toString() {
        return "Bean{" +
                "name='" + name + '\'' +
                ", className='" + className + '\'' +
                ", propertyList=" + propertyList +
                '}';
    }
}
